page {
  height: 100%;
  overflow: hidden;
  background-color: #f7f7f8;
}

.viewport {
  height: 100%;
  background-repeat: no-repeat;
  background-image: url('/static/images/center_bg.png');
  background-size: 100% auto;
}

/* 用户信息 */
.profile {
  margin-top: 80rpx;
  position: relative;

  .overview {
    display: flex;
    height: 120rpx;
    padding: 0 36rpx;
    color: #fff;
  }

  .avatar {
    width: 120rpx;
    height: 120rpx;
    border-radius: 50%;
    background-color: #eee;
  }

  .gray {
    filter: grayscale(100%);
  }

  .meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 30rpx;
    padding: 16rpx 0;
    margin-left: 20rpx;
  }

  .nickname {
    max-width: 180rpx;
    margin-bottom: 16rpx;
    font-size: 30rpx;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .extra {
    display: flex;
    font-size: 20rpx;
  }

  .tips {
    font-size: 22rpx;
  }

  .update {
    padding: 3rpx 10rpx 1rpx;
    color: rgba(255, 255, 255, 0.8);
    border: 1rpx solid rgba(255, 255, 255, 0.8);
    margin-right: 10rpx;
    border-radius: 30rpx;
  }

  .settings {
    position: absolute;
    bottom: 0;
    right: 40rpx;
    font-size: 30rpx;
    color: #fff;
  }
}

/* 我的订单 */
.orders {
  position: relative;
  z-index: 99;
  padding: 30rpx;
  margin: 50rpx 20rpx 0;
  background-color: #fff;
  border-radius: 10rpx;
  box-shadow: 0 4rpx 6rpx rgba(240, 240, 240, 0.6);
  margin-top: 60rpx;

  .title {
    height: 40rpx;
    line-height: 40rpx;
    font-size: 28rpx;
    color: #1e1e1e;

    .navigator {
      font-size: 24rpx;
      color: #939393;
      float: right;
    }
  }

  .section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 40rpx 20rpx 10rpx;

    .item {}

    .img {
      font-size: 0;
      margin: auto;
      width: 1.8rem;
      height: 1.8rem;
      position: relative;
    }

    .text {
      font-size: 0.75rem
    }

    .navigator,
    .contact {
      text-align: center;
      font-size: 24rpx;
      color: #333;

      &::before {
        display: block;
        font-size: 60rpx;
        color: #ff9545;
      }

      &::after {
        border: none;
      }
    }

    .contact {
      padding: 0;
      margin: 0;
      border: 0;
      background-color: transparent;
      line-height: inherit;
    }
  }
}

uni-page-body uni-image {
  width: 100%;
  height: 100%;
}

.my-con {
  background: #fff;
  padding: 30rpx 0;
  margin: 30rpx;
  border-radius: 10rpx;
}

.my-con .tit {
  display: flex;
  justify-content: space-between;
  padding: 0 30rpx;
}

.my-con .tit .text {
  font-weight: 600;
  font-size: 24rpx;
}

.my-con .tit .more {
  color: #999;
}

.my-con .tit .more.text-arrow::after {
  border-top: 2rpx solid #999;
  border-right: 2rpx solid #999;
  top: 44%;
}

.my-con .con-box {
  display: flex;
  text-align: center;
  padding: 0 10rpx;
  flex-wrap: wrap;
}

.my-con.my-tools .con-box {
  padding-bottom: 16rpx;
}

.my-con .con-box .item {
  width: 25%;
  margin-top: 40rpx;
}

.my-con .con-box .item .img {
  font-size: 0;
  margin: auto;
  width: 1.8rem;
  height: 1.8rem;
  position: relative;
}

.my-con .con-box .item .img .mark {
  position: absolute;
  top: -18rpx;
  left: 50%;
  min-width: 20rpx;
  padding: 0 4rpx;
  height: 28rpx;
  line-height: 28rpx;
  border-radius: 28rpx;
  background: #fc1b35;
  color: #fff;
  font-size: 20rpx;
  font-family: PingFangSC-Medium, tahoma;
  margin-left: 10rpx;
}

.my-con .con-box .item.w70 .img {
  width: 1.8rem;
  height: 1.8rem;
}

.my-con .con-box .item .text {
  margin-top: 16rpx;
  color: #333;
  font-size: 24rpx;
}